array reverse algorithm

join shbcf.ru